package com.polukeuro.app.model.user;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Gamer {
	
	@PrimaryKey
	@Persistent
	private String id;
	private String email;
	private String pseudo;
	@Persistent
	private int credit;
	@Persistent
	private int score;
	private boolean logged;
	private String logOutUrl;
	private String logIntUrl;
	
	public Gamer(){
		super();
		this.id=null;
		this.email=null;
		this.pseudo=null;
		this.credit=0;
		this.score=0;
		this.logged=false;
		this.logIntUrl=null;
		this.logOutUrl=null;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPseudo() {
		return pseudo;
	}
	public void setPseudo(String pseudo) {
		this.pseudo = pseudo;
	}
	public int getCredit() {
		return credit;
	}
	public void setCredit(int score) {
		this.credit = score;
	}
	
	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public boolean isLogged() {
		return logged;
	}

	public void setLogged(boolean logged) {
		this.logged = logged;
	}

	public String getLogOutUrl() {
		return logOutUrl;
	}

	public void setLogOutUrl(String logOutUrl) {
		this.logOutUrl = logOutUrl;
	}

	public String getLogIntUrl() {
		return logIntUrl;
	}

	public void setLogIntUrl(String logIntUrl) {
		this.logIntUrl = logIntUrl;
	}
	
}
